package org.tgcloud.group.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 权限表
 */
@ApiModel(value = "org-tgcloud-group-entity-SysPermission")
@Data
public class SysPermission {
    @ApiModelProperty(value = "")
    private Integer id;

    /**
     * 权限名称
     */
    @ApiModelProperty(value = "权限名称")
    private String pName;

    /**
     * 1-菜单 2-按钮
     */
    @ApiModelProperty(value = "1-菜单 2-按钮")
    private Short pType;

    /**
     * 权限 menu例子：role:*，button例子：role:create,role:update,role:delete,role:view
     */
    @ApiModelProperty(value = "权限 menu例子：role:*，button例子：role:create,role:update,role:delete,role:view")
    private String permission;

    /**
     * 接口路径
     */
    @ApiModelProperty(value = "接口路径")
    private String url;

    /**
     * 父级id
     */
    @ApiModelProperty(value = "父级id")
    private Integer parentId;

    /**
     * 排序asc
     */
    @ApiModelProperty(value = "排序asc")
    private Integer sort;

    /**
     * 是否隐藏，1、不隐藏
     */
    @ApiModelProperty(value = "是否隐藏，1、不隐藏")
    private Integer isHiding;
}